// 集装箱 运输记录
import request from "@/utils/https/requests";
// 列表
export function containerTrackingList(data: any) {
  return request({
    url: "/containerTracking/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddContainerTracking(data: any) {
  return request({
    url: "/containerTracking/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModContainerTracking(data: any) {
  return request({
    url: `/containerTracking/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function containerTrackingDetail(id: string) {
  return request({
    url: `/containerTracking/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteContainerTracking(id: string) {
  return request({
    url: `/containerTracking/postDelete/${id}`,
    method: "post",
  });
}
